<?php
	$currentItem = "DownloadAdmin";
	$currentSubItem = "addFile";
?>
<include file="./Tpl/default/Admin/Public/header.html" />
<include file="./Tpl/default/Admin/Public/sidebar.html" />

<div>
	<h2>添加文件页面</h2>

	<form id="DownloadFileForm" method="post" enctype="multipart/form-data" action="__APP__/Admin/DownloadAdmin/insertFile">

		<ul>

			<li>
				<label>选择发布的文件类型</label>
				<select name="type">
					<option value="0">研究生文件</option>
					<option value="1">本科生文件</option>
				</select>	
			</li>
			
			<li>
				<input type="file" name="uploadfile" >
			</li>
			
	
			<li>
				<label>显示名称[留空则使用上传文件的原始名称]：</label>
				<input type="text" name="showname" >
			</li>
			
			<li>
				<input type="hidden" value="<?php echo $_SESSION['real_name']?>" name="publisher">
				<input type="submit" value="提 交">
				<input type="reset" >
				<strong><a href="__APP__/Admin/DownloadAdmin/">返回</a></strong>
			</li>
			
		</ul>

	</form>

</div>

<include file="./Tpl/default/Admin/Public/footer.html" />


